import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

//创建Pinia实例
const pinia = createPinia();
//将插件挂载到Pinia中
pinia.use(piniaPluginPersistedstate);

//挂载路由、Pinia
createApp(App).use(router).use(pinia).mount('#app')
